import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true,
    keepAlive: true
};
const pre = '/business/clue/';
export default {
    path: '/business/clue',
    name: 'clue',
    redirect: {
        name: `grap`
    },
    meta,
    component: BasicLayout,
    children: [{
                   path: 'grap',
                   name: `grap`,
                   meta: {
                       ...meta,
                       title: '留言'
                   },
                   component: () =>
                import ('@/pages/clue/grap')
               },
               {
                   path: 'entry',
                   name: `entry`,
                   meta: {
                       ...meta,
                       title: '客服录入'
                   },
                   component: () =>
                import ('@/pages/clue/entry')
               },
               {
                   path: 'calls',
                   name: `calls`,
                   meta: {
                       ...meta,
                       title: '来电'
                   },
                   component: () =>
                import ('@/pages/clue/calls')
               },
               {
                   path: 'wechat',
                   name: `wechat`,
                   meta: {
                       ...meta,
                       title: '微信'
                   },
                   component: () =>
                import ('@/pages/clue/wechat')
               },
               {
                   path: 'market',
                   name: `market`,
                   meta: {
                       ...meta,
                       title: '市场'
                   },
                   component: () =>
                import ('@/pages/clue/market')
               }
    ]
};
